<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8" />
        <link rel="stylesheet" href="styles/style.css">
        <link rel="stylesheet" href="styles/theme/atom-one-dark.css">
        <title>例子13-JS进阶（二）</title>
    </head>
    <body>
        <pre>
            <code>
                    // 例子13

                    var a = {
                        m: function(){} // 函数表达式声明
                    }

                    $.get('test.php', function(res) {}) //jQuery中的$.get方法中的回调函数

                    (function() { // 函数自执行
                            //...
                    })()
            </code>
        </pre>
        <script src="scripts/libs/highlight.pack.js"></script>
        <script src="scripts/13.js"></script>
        <script>
            hljs.initHighlightingOnLoad();
        </script>
    </body>
</html>